{template 'ssr/common/main'}
{template 'ssr/home/_header'}
<style>
.dot{width: 10px;height: 10px;background: #fff;border-radius: 50%;display: block;float: left;}
.dot-line{float: left;margin-top:168px; margin-left:10px;position: relative;z-index: 3;}
.roundxi{
  float: left;
  width:auto;
  border: 1px solid #fff;
  font-size:11px;
  border-radius: 20px;
  padding: 2px 8px;
  background-color: #e6e6e6;
}
.hr0{ width:18px;height:1px;border:none;border-top:1px solid #fff;}
.hr1{ width:18px;height:1px;border:none;border-top:1px solid #555555;}
.hr2{ width:18px;height:3px;border:none;border-top:3px double red;}
.hr3{ width:18px;height:5px;border:none;border-top:5px ridge green;}
.hr4{ width:18px;height:10px;border:none;border-top:10px groove skyblue;}
.fui-goods-item .detail .price .buy {
    display: block;
    text-align: center;
    line-height: 20px;
    color: #fff;
    background: #fe5455;
    display: block;
}
.fui-goods-group {
    height: auto;
    overflow: hidden;
    background: #f9f9f9;
}

.fui-goods-item {
    position: relative;
    height: auto;
    padding: 10px;
    border-bottom: 1px solid #e7e7e7;
    background: #fff;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.fui-goods-group.block .fui-goods-item {
    width: 20%;
    float: left;
    border-bottom: 0;
    background: none;
    padding: 9px;
    display: block;
}

.fui-goods-group.block .fui-goods-item .image {
    width: 100%;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding-bottom: 70%; /* 关键就在这里 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.fui-goods-group.block .fui-goods-item .image .timeshow{
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    padding: 0 10px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-left-radius: 5px;
    height: 25px;
    line-height: 25px;
    background-color: #fe5455;
    color: #FFF;
    text-align: center;
    font-size: 12px;
}
.fui-goods-group.block {
    padding: 4px;
}

.fui-goods-group.block .fui-goods-item .image {
    float: none;
}
.fui-goods-group.block .fui-goods-item .image:after{
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    /*background-color: #333;
    opacity: 0.38;*/
    z-index: 1;
    width: 100%;
    height: 100%;
}
.fui-goods-group.block .fui-goods-item .detail {
    padding: 4px;
    overflow: hidden;
}

.fui-goods-group.block .fui-goods-item .detail .name {
    height: 32px;
    overflow: hidden;
	font-size:16px;
}
.fui-goods-group.block .fui-goods-item .subtitle {
    color: 9a9a9a;
}
.fui-goods-group.block .fui-goods-item .center-image {
    max-width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-size: contain;
}
.fui-goods-group.block.one .fui-goods-item {
    width: 100%;
    float: none;
}

.fui-goods-group.block.three .fui-goods-item {
    width: 33.33%;
}
.fui-goods-item .image {
    height: 4.75rem;
    width: 5.75rem;
    float:left;
    background-size:100%;
    position: relative;
    overflow: hidden;
}
.fui-goods-item .image2 {
    height: 8.75rem;
    width: 5.75rem;
}

.diy-phone {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    margin-bottom: 10px;
	margin-left:auto;
	margin-right:auto;
}

.diy-phone .phone-head {
    height: 44px;
    background: #fff;
    position: relative;
}

.diy-phone .phone-head:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 130px;
    height: 4px;
    width: 4px;
    background: #ddd;
    border-radius: 4px;
}

.diy-phone .phone-head:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 140px;
    height: 4px;
    width: 25px;
    background: #ddd;
    border-radius: 4px;
}
.diy-phone .phone-head-2 {
    height: 44px;
    background: #fff;
    position: relative;
}

.diy-phone .phone-head-2:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 130px;
    height: 4px;
    width: 4px;
    background: #ddd;
    border-radius: 4px;
}

.diy-phone .phone-head-2:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 140px;
    height: 4px;
    width: 25px;
    background: #ddd;
    border-radius: 4px;
}
.diy-phone .phone-foot {
    height: 14px;
    width: 60px;
    margin: 5px auto 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.diy-phone .phone-body .timeshow{
    position: absolute;
    top: 20px;
    left: 0;
    overflow: hidden;
    padding: 0 10px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    border-radius: 5px;
    height: 25px;
    line-height: 25px;
    background-color: #fe5455;
    color: #FFF;
    text-align: center;
    font-size: 12px;
}
.modal-dialog {margin-top:10%}
.mr30 {
    margin: 30px 0!important;
}
.mt18 {
    margin-top: 18px!important;
}
.f16 {
    font-size: 16px;
}
.f28 {
    font-size: 28px;
}
.index-banner-bottom .hr {
    width: 186px;
    margin: 0 auto;
	font-weight:bold;
	text-align:center;
    border-bottom: 1px solid #d9d9d9;
}
.index-banner-bottom p {
    line-height: 35px;
    padding: 0 260px;
    margin: 0 auto;
}
.templets-help-block{
    display: block;
}
.templets-help-tit{
    margin-top: 60px;
    text-align: center;
}
.templets-help-tit h3{
    color: #333;
    font-size: 26px;
}
.templets-help-tit p{
    color: #666;
    line-height: 24px;
    margin-top: 10px;
    font-size: 14px;
}
.templets-help-item{
    display: block;
    margin-top: 50px;
    text-align: center;
}
</style>
<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
	<div class="carousel-inner" role="listbox" style="height:300px">
		<div class="item active">
			<a href="#">
				<img src="../core/resource/images/banner-380.jpg" style="display: block; width: 100%; height: auto;"/>
			</a>
		</div>
	</div>
</div>
<div class="index-banner-bottom mr30 ">
        <div class="container-index f16 ta-c ftx6">
            <div class="hr f28 bold">精选模板</div>
            <div class="mt30">
                <p>我们为您挑选出最适合您网站风格的移动端模板和电脑模板（您也可以自己到后台DIY模板）</p>
            </div>
        </div>
		<div class="container-index f16 ta-c ftx6">
            <div class="hr f28 bold">精选应用</div>
            <div class="mt30">
                <p>商城、社区、上门服务、投票、周圈、砍价、秒杀、滴滴、跑腿等无缝乐高堆砌应用</p>
            </div>
        </div>
		<div class="container-index f16 ta-c ftx6">
            <div class="hr f28 bold">精选小程序</div>
            <div class="mt30">
                <p>商城、社区、上门服务、投票、周圈、砍价、秒杀、滴滴、跑腿等无缝乐高堆砌小程序</p>
            </div>
        </div>
</div>
<div class="container-index news" style="padding-top:20px">
<ul class="nav nav-tabs" style="margin-bottom:20px">
	{loop $return['tabs'] $type}
	<li class="active"><a href="javascript:;">{$type['title']}</a></li>
	{/loop}
</ul>
<div class="form-group" style="margin-left:10px">
	<div class="btn-group site-tp-group">
		{loop $return['groups']['jysnav'] $g}
		<a class="btn">{$g['title']}</a>
		{/loop}
	</div>
</div>
<div class="form-group" style="margin-left:10px">
	<div class="btn-group site-tp-group">
		<a class="btn">全部</a>
		{loop $return['groups']['jysnav'] $g}
		<a class="btn">{$g['title']}</a>
		{/loop}
	</div>
</div>
<div class="jinyun-app-list">
		<div class="fui-goods-group block">
         {loop $return['list'] $item}
		 <div class="fui-goods-item">
					<div style="position: relative;">
						<div class="diy-phone">
							<div class="phone-head" style="height:13px">
							</div>
							<div class="phone-body">
								<img align="absmiddle" src="{php echo tomedia($item['image']);}" style="width:100%;height:388px">
								
							</div>
							<div class="phone-foot" style="height:8px;margin:3px auto 3px">
							</div>
						</div>
					</div>
					<div>
                        <div class="detail">
                            <div class="name" style="font-size:15px;line-height:32px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;">{$item['title']} <span class="r" style="font-size:12px;color:red">{$item['time']}</span></div>
							<div class="price" style="margin-top: 0.3rem">
								<span class="jylabel jylabel-red">限时特卖</span>
								<span class="text blod"> ￥{$item['price']}</span>
								<a class="buy r"> {$item['buy_action']['title']}</a>
							</div>
							<div class="price" style="margin-top: 0.3rem">
								<span class="text delete" style="color: #bebebe;">原价￥{$item['oldprice']}</span>
								<span class="purchases">{$item['salenum']}人购买</span>
							</div>
                        </div>
					</div>
		</div>
		{/loop}
	</div>
	<div class="page">
		<!-- 分页导航 -->
		{template 'ssr/common/page'}
	</div>
</div>
</div>
<div class="index-section-f4 pauto-80" style="padding:2rem 0 2rem 0;background: url('../core/resource/images/diy/templets-help-bg.jpg') center no-repeat;">
        <div class="container-index relative">
            <div class="templets-help-block">
                <div class="templets-help-tit">
                    <h3>服务机制</h3>
                    <p>我们 为全球 2,493,481 商户提供 365x24 小时优质服务</p>
                </div>
			</div>
		</div>
</div>
{template 'ssr/home/_footer'}